<!doctype html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>添加公告</title>
    <base href="/">

    <!-- Favicon -->
    <link rel="shortcut icon" href="assets/media/image/favicon.png"/>

    <!-- Plugin styles -->
    <link rel="stylesheet" href="vendors/bundle.css" type="text/css">

    <!-- Datepicker -->
    <link rel="stylesheet" href="vendors/datepicker/daterangepicker.css">

    <!-- Vmap -->
    <link rel="stylesheet" href="vendors/vmap/jqvmap.min.css">

    <!-- App styles -->
    <link rel="stylesheet" href="assets/css/app.css" type="text/css">
</head>
<body class="container">
<!--自定义宽度-->
<!-- begin::preloader-->
<div class="preloader">
    <div class="preloader-icon"></div>
</div>
<!-- end::preloader -->

<!-- begin::header -->
<!--引入公共头部页面-->
<div th:replace="~{commons/header :: header}"></div>
<!-- end::header -->

<!-- begin::main -->
<div id="main">

    <!-- begin::navigation -->
    <!--引入公共导航栏页面-->
    <div th:replace="~{commons/navigation :: navigation}"></div>
    <!-- end::navigation -->
    <div class="main-content">

        <div class="container-fluid card">

            <div class="row">
                <div class="col-md-12 card">
                    <div class="row anno">
                        <img src="image/anno.png">
                        公告通知
                    </div>
                <form action="/notify/toAdd" method="post">
                    <div class="table-responsive">
                        <br>
                        <input type="text" class="form-control" name="notifyTitle" placeholder="标题：">

                        <br>
                    </div>
                    <div>
                        <textarea name="notifyContent" style="height: 500px" class="form-control" rows="3"></textarea>
                    </div>
                    <div>
                        <br>
                        <input name="submit" type="submit" value="添加" class="btn btn-primary" style="float: left;margin-left: 25px"/>
                        <input name="submit" type="submit" value="保存" class="btn btn-primary" style="float: left;margin-left: 35px"/>
                        <a th:href="${#request.getHeader('Referer')}" class="btn btn-primary" style="float: right;margin-right: 25px">返回</a>
                        <br>
                        <br>
                    </div>
                </form>
                </div>
            </div>
        </div>
        <!-- end::page content -->


        <div th:replace="~{commons/footer :: footer}"></div>
    </div>
</div>

<!--引入公共的JavaScript脚本-->
<div th:include="~{commons/scripts :: scripts}"></div>

<!-- App scripts -->
<script src="assets/js/app.js"></script>
</body>

</html>